<template>
<div>
  <van-dropdown-menu active-color="#ee0a24">
    <van-dropdown-item v-model="value1" :options="option1" title="综合" />
    <van-dropdown-item v-model="value2" :options="option2" title="价格" />
    <van-dropdown-item v-model="value3" :options="option3" title="全部" />
  </van-dropdown-menu>
  <section v-if="ifHave">
    <product-show></product-show>
  </section>
  <van-empty description="搜索无结果" v-else/>
</div>
  

</template> 
<script>

import productShow from '@/components/SubPopup/productShow.vue'

export default {
    data(){
        return{
            ifHave:true,
            value1:"",
            value2:"",
            value3:"",
            option1:[{ text: '全部商品', value: 0 },],
            option2:[],
            option3:[],
            // NewArr:[]
        }
    },
      components:{
        productShow
  },
      computed:{

      }
}
</script>
 
<style>
</style>